<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎莅临</title>
<link href="/storage/css/default.css" rel="stylesheet" type="text/css" />
<style>
.login_box{
	float:left;
	border:2px solid #ccc;
	width:165px;
	height:auto;
	padding:20px;
	}
.txt_input{
	width:250px;
	border:1px solid #bbb;
	padding:2px;
	}
</style>

<script type="text/javascript">
function change_v(id){
	var v_obj=document.getElementById(id);
	v_obj.style.backgroundImage="url(/tools.php?do=v&"+Math.random()+")";
//	v_obj.style.paddingLeft="40px";
//	
//	v_obj.style.width='110px';
//alert('ddddeeddd');
}
function show_submit_div(){
	var sd = document.getElementById('submit_div');

	if(sd.style.display=='none'){
		sd.style.display='block';
		
	}else{
		sd.style.display='none';
	}
	
}

</script>

</head>
<body>

<?php include('head.php') ?>

<div class="body">

<table width="75%">
	<tr bgcolor="#dddddd">
		<td style="padding:8px;border-left:5px solid <?php echo ($__ITEMS['is_top']>0?"#f00":"#888")?> ;">
			<?php echo $__ITEMS['title_html'] ?>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
		<td style="padding:8px 18px 8px 18px;">
			
			<?php echo $__ITEMS['theme_pic_html'].nl2br($__ITEMS['topic_body']); ?>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
		<td style="padding:8px;">
			<?php echo $__ITEMS['author_html'] ?>
		</td>
	</tr>
	<tr><td><center><hr width="30%" size="1" /><br /></center></td></tr>
	

	<?php echo $__ITEMS['reply_html']; //打印回复帖 ?>
	
	

<tr bgcolor="#bbbbbb">
	<td style="padding:8px;border-left:5px solid #38302D"><strong style="font-size:14px;"><a href="#sub" onclick="show_submit_div();">『我要评价这篇文章』</a></strong></td>
</tr>
<tr bgcolor="#ffffff">
	
	<td style="padding:8px 18px 8px 18px;">

		<div id="submit_div" style="display:block<?php //echo $__ERRORS?'block':'none' ?>;">
			<form method="POST" action="/club.php?do=new_reply&tid=<?php echo $__ITEMS['tid'] ?>">
				<table>
					
					

					<tr><td align="right">评价标题：</td><td><input type="text" name="title" id="title" class="txt_input" style="width:550px;" value="<?php echo $__ITEMS['title'] ?>"   /><?php html_showMessages_($__ERRORS['title'],'#f00','<br />'); ?></td></tr>
					<tr><td align="right">评价内容：</td><td><textarea name="body" id="body" rows="10" class="txt_input" style="width:550px;" ><?php echo $__ITEMS['body'] ?></textarea><?php html_showMessages_($__ERRORS['body'],'#f00','<br />'); ?></td></tr>
					<tr><td></td><td><input class="txt_input" type="submit" value="提交" />&nbsp;&nbsp;<input class="txt_input" type="reset" value="重置" /></td></tr>
				</table>
				<a name="sub" />
			</form>
		</div>
		
	</td>

</tr>
<tr><td><center><hr width="30%" size="1" /><br /></center></td></tr>
</table>


</div>

</div>
<?php include('foot.php') ?>
</body>
</html>
